﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcBHXH.Common
{
    public class Util
    {
        DataClassesBHYTTNDataContext context;
        private static readonly Util _instance = new Util();
        
        public Util()
        {    
        }

        public static Util CreateInstance()
        {
            return _instance;
        }

        public DataClassesBHYTTNDataContext DataContext()
        { 
            context = new DataClassesBHYTTNDataContext();
            return context;
        }
    }
}